home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 2623 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  1.4 KB

  1. Path: news1.h1.usa.pipeline.com!usenet
  2. From: grantp@usa.pipeline.com(Pete)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Idle curiosity: Delphi properties in C++
  5. Date: 18 Jan 1996 17:53:54 GMT
  6. Organization: Kalevi, Inc.
  7. Message-ID: <4dm1fi$qjq@news1.usa.pipeline.com>
  8. References: <4dk4ch$680@seagoon.newcastle.edu.au>
  9. NNTP-Posting-Host: pipe2.h1.usa.pipeline.com
  10. X-PipeUser: grantp
  11. X-PipeHub: usa.pipeline.com
  12. X-PipeGCOS: (Pete)
  13. X-Newsreader: Pipeline USA v3.3.0
  14.  
  15. On Jan 18, 1996 01:31:13 in article <Re: Idle curiosity: Delphi properties
  16. in C++>, 'mazz@faceng.newcastle.edu.au (Richard Mazzaferri)' wrote: 
  17.  
  18.  
  19. >The difficulty in C++ is that there is really no concept of a unit. 
  20. Header 
  21. >files and source files are _not_ the same thing.  This is a contributing 
  22. >factor to the reason why C++ compilation is _so_ slow compared to a decent
  23.  
  24. >Pascal compiler - none of the public declarations from a header file can
  25. be 
  26. >stored in compiled form in the compiled unit file because the header could
  27.  
  28. >be compiled differently next time using different preprocessor
  29. definitions. 
  30. > [... rest deleted for brevity's sake ..] 
  31.  
  32. Actually, precompiled headers go a long way towards solving this 
  33. problem.  Modern compilers detect differenct preprocessor definitions 
  34. to a great extent.  There is a small price to pay for the flexibility. 
  35.  
  36. -- 
  37. Pete Grant 
  38. Kalevi, Inc. 
  39. Object Oriented Software Development
  40.